Arbitrary-precision computation of the gamma function
نویسندگان
چکیده
We discuss the best methods available for computing gamma function Γ(z) in arbitrary-precision arithmetic with rigorous error bounds. address different cases: rational, algebraic, real or complex arguments; large small low high precision; without precomputation. The also cover log-gamma log Γ(z), digamma ψ(z), and derivatives Γ⁽ⁿ⁾(z) ψ⁽ⁿ⁾(z). Besides attempting to summarize existing state of art, we present some new formulas, estimates, bounds algorithmic improvements implementation results.
منابع مشابه
Computing the Incomplete Gamma Function to Arbitrary Precision
I consider an arbitrary-precision computation of the incomplete Gamma function from the Legendre continued fraction. Using the method of generating functions, I compute the convergence rate of the continued fraction and find a direct estimate of the necessary number of terms. This allows to compare the performance of the continued fraction and of the power series methods. As an application, I s...
متن کاملARPREC: An Arbitrary Precision Computation Package
This paper describes a new software package for performing arithmetic with an arbitrarily high level of numeric precision. It is based on the earlier MPFUN package [2], enhanced with special IEEE floating-point numerical techniques and several new functions. This package is written in C++ code for high performance and broad portability and includes both C++ and Fortran-90 translation modules, s...
متن کاملComputation of the error function erf in arbitrary precision with correct rounding ∗
In this paper, the computation of erf(x) in arbitrary precision is detailed. A feature of our implementation is correct rounding: the returned result is the exact result (as if it were computed with infinite precision) rounded according to the specified rounding mode. The four rounding modes given in the IEEE-754 standard for floating-point arithmetic are provided. The algorithm that computes t...
متن کاملA Thread-Safe Arbitrary Precision Computation Package (Full Documentation)
Numerous research studies have arisen, particularly in the realm of mathematical physics and experimental mathematics, that require extremely high numeric precision. Such precision greatly magnifies computer run times, so software packages to support high-precision computing must be designed for thread-based parallel processing. This paper describes a new package (“MPFUN2015”) that is threadsaf...
متن کاملGTEngine: Arbitrary Precision Arithmetic
3 Binary Scientific Numbers 9 3.1 Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 Addition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2.1 The Case p− n > q −m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2.2 The Case p− n < q −m . . . . . . . . ....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Maple transactions
سال: 2023
ISSN: ['2564-3029']
DOI: https://doi.org/10.5206/mt.v3i1.14591